package com.iplatform.iplatformuser.privilege.service.impl;

import com.iplatform.module.privilege.TargetGroupBean;
import com.iplatform.iplatformuser.privilege.dao.TargetGroupMapper;
import com.iplatform.iplatformuser.privilege.service.inter.targetGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *
 * @author zql
 *
 */
@Service
public class TargetGroupServiceImpl implements targetGroupService {

	@Autowired
	private TargetGroupMapper mapper;

	@Override
	public List<TargetGroupBean> queryGroup(Map<String, String> formMap) {
		return mapper.queryGroup(formMap);
	}

	@Override
	public void addGroup(Map<String, String> formMap) {
		mapper.addGroup(formMap);
	}

	@Override
	public void updateGroup(Map<String, String> formMap) {
		mapper.updateGroup(formMap);
	}

	@Override
	public void deleteGroup(Map<String, String> formMap) {
		mapper.deleteGroup(formMap);
	}
}
